import request from "@/utils/request";

// 我的考试列表
const examination_list =(data)=>request("/examination/getlist","GET",data)
// 我的错题
const wrongdata =(data)=>request("examination/wrongdata","GET",data)
// 我的错题列表
const wrongList =(data)=>request("/examination/getwronglist","GET",data)
// 移除错题
const removeWrong =(data)=>request("/examination/removewrong","POST",data)
// 考试开始前
const start_show =(data)=>request("examination/start_show","GET",data)
// 考试题目
const problemdata =(data)=>request("/examination/problemdata","GET",data)
// 单题提交
const examination_answer =(data)=>request("/examination/answer","POST",data)
// 更新答题时间
const update_duration =(data)=>request("/examination/update_duration","POST",data)
// 提交答题

const submit_examination =(data)=>request("/examination/submit","POST",data)

export {
	examination_list,
	wrongdata,
	wrongList,
	removeWrong,
	start_show,
	problemdata,
	examination_answer,
	update_duration,
	submit_examination
}